package com.example.demo.Dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.awt.*;

@Data
@Component
public class RegisterDto {

@NotBlank
@Email
    private String email;
@NotBlank
    private String password;
@NotBlank
    private String confirmPassword;

}
